package com.project.dao.impl;

import java.util.UUID;
import com.project.dao.RecruitDao;
import com.project.dao.bean.Recruit;

/**
 * 招聘老师 DaoImpl
 * @author Sn
 *
 */
public class RecruitDaoImpl extends BaseDaoImpl implements RecruitDao 
{

	@Override
	public void save(Recruit recruit) throws Exception 
	{
		UUID uuid = UUID.randomUUID();
		recruit.setRecruit_id(uuid.toString());
		this.getSqlMapClient().insert("saveRecruit", recruit);
	}

}
